(fortran-start-prog-re): New constant, extracted from fortran-current-defun.
authorGlenn Morris <rgm@gnu.org>
Sun, 30 Aug 2009 01:38:09 +0000 (01:38 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 30 Aug 2009 01:38:09 +0000 (01:38 +0000)
commit07ab87921bfa1ffc24c932cca7531e5f411d07b9
tree4aad5f0ae98f59fdde2cff6608a7952601335120
parentaf79947a61dd1e30710a143f26b1287b0dae36f0
(fortran-start-prog-re): New constant, extracted from fortran-current-defun.
(fortran-beginning-of-subprogram): Be more precise about finding the
start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
(fortran-end-of-subprogram): Simplify.
(fortran-current-defun): Use fortran-start-prog-re.
lisp/ChangeLog
lisp/progmodes/fortran.el